package com.weixstudio.designmode.builder.simple;

/**
 * @ClassName Test
 * @Description TODO
 * @Author liangw
 * @Date 2022/4/25 22:24
 * @Version 1.0
 **/
public class Test {
    public static void main(String[] args) {
        Builder builder = new ConcreteBuilder1();
        Director director = new Director(builder);
        Product product = director.construct();
        System.out.println(product.getPartA()+"--"+product.getPartB()+"--"+product.getPartC());
    }
}
